package com.commonlover.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户表
 */
@Data
@TableName("co_user")
public class User implements Serializable {

    @TableId(type = IdType.ASSIGN_UUID)
    private Integer id;

    private String name;

    private String nickName;

    private String phoneNum;

    private String mail;

    private String password;

    private String headPortrait;

    private Integer age;

    private String address;

    private String personalProfile;

}
